package cn.lyh.gulimall.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author lyh
 * @version 1.0
 * @since 2021/4/6
 */
/**
    * 会员收藏的专题活动
    */
@Data
@TableName(value = "ums_member_collect_subject")
public class UmsMemberCollectSubject {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * subject_id
     */
    @TableField(value = "subject_id")
    private Long subjectId;

    /**
     * subject_name
     */
    @TableField(value = "subject_name")
    private String subjectName;

    /**
     * subject_img
     */
    @TableField(value = "subject_img")
    private String subjectImg;

    /**
     * 活动url
     */
    @TableField(value = "subject_urll")
    private String subjectUrll;

    public static final String COL_ID = "id";

    public static final String COL_SUBJECT_ID = "subject_id";

    public static final String COL_SUBJECT_NAME = "subject_name";

    public static final String COL_SUBJECT_IMG = "subject_img";

    public static final String COL_SUBJECT_URLL = "subject_urll";
}